[HVM] Replace shared-memory PIC state with a set-irq-level hypercall.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 7 Nov 2006 13:13:52 +0000 (13:13 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 7 Nov 2006 13:13:52 +0000 (13:13 +0000)
commit25f5b0ff1569004165e5dbdf2872f4e7617a5b60
treeef3f256ea42e8f4672a9267ed2bb75bb7f75fb98
parentbcc2aed22acbbe0d319e18f7e06c249c03daf100
[HVM] Replace shared-memory PIC state with a set-irq-level hypercall.
This simplifies the IRQ logic significantly and avoids the bogus
hvm_pic_assist() on domain resume path.

There is more work to be done here. At least:
 1. set-irq-level should really be set-interrupt-wire-level. Wire
    state needs to be distinguished from PIC (in particular, PIC IRR)
    state.
 2. Hypercalls can be batched in qemu and pushed down in one
    multicall.

Signed-off-by: Keir Fraser <keir@xensource.com>
21 files changed:
tools/ioemu/target-i386-dm/i8259-dm.c
tools/libxc/xc_misc.c
tools/libxc/xenctrl.h
xen/arch/ia64/vmx/vlsapic.c
xen/arch/ia64/vmx/vmx_init.c
xen/arch/ia64/vmx/vmx_process.c
xen/arch/ia64/vmx/vmx_support.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/i8259.c
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/hvm/vmx/io.c
xen/include/asm-ia64/vlsapic.h
xen/include/asm-ia64/vmx.h
xen/include/asm-ia64/vmx_vpd.h
xen/include/asm-x86/hvm/io.h
xen/include/asm-x86/hvm/vioapic.h
xen/include/asm-x86/hvm/vpic.h
xen/include/public/hvm/hvm_op.h [new file with mode: 0644]
xen/include/public/hvm/ioreq.h
xen/include/public/hvm/params.h